package cn.hdu.liang.ch2;


//代码清单2-6 虚拟机栈示例代码 testGC
public class TestGC {
    public static void test1() {
        byte[] a = new byte[6 * 1024 * 1024];
        System.gc();
        System.out.println("first explict gc over");
    }

    public static void main(String[] args) {
        TestGC.test1();
    }
}
